package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.SysLog;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.List;

/**
 * @Author:zhiGang.
 * @Description:
 * @Date:Created in 21:11 2020/11/29
 * @ModifiedBy:
 */
public interface SysLogService {
    /**
         * @Description:
         * @Param: [sysLog]
         * @return: void
         * @Author: zhiGang.
         * @Date:  2020/11/29
         */
    void save(SysLog sysLog);

    /**
         * @Description:
         * @Param: [sysLog]
         * @return: void
         * @Author: zhiGang.
         * @Date:  2020/11/29
     * @param sysLogId
         */
    void delete(String sysLogId);


    /**
         * @Description:
         * @Param: [id]
         * @return: com.itheima.domain.system.SysLog
         * @Author: zhiGang.
         * @Date:  2020/11/29
         */ 
    SysLog findByTime(String time);

    /**
         * @Description:
         * @Param: []
         * @return: java.util.List<com.itheima.domain.system.SysLog>
         * @Author: zhiGang.
         * @Date:  2020/11/29
     * @param visitTime
         */
    List<SysLog> findAll(String visitTime);


    /**
         * @Description:  文件
         * @Param: []
         * @return: java.io.ByteArrayOutputStream
         * @Author: zhiGang.
         * @Date:  2020/12/1
         */
    ByteArrayOutputStream getReport() throws IOException;
}
